package com.xjtu.mapper;

import com.xjtu.entity.Bill;
import com.xjtu.vo.billRecord.BillDetailVo;
import com.xjtu.vo.billRecord.BillVo;

import java.util.List;

/**
* @author 2070929887
* @description 针对表【bill(记录一次费用清单)】的数据库操作Mapper
* @createDate 2023-11-12 14:47:30
* @Entity com.xjtu.mapper.Bill
*/
public interface BillMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Bill record);

    int insertSelective(Bill record);

    Bill selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Bill record);

    int updateByPrimaryKey(Bill record);

    List<BillVo> selectAllElderInfo();

    List<BillVo> selectElderInfoById(String elderlyName);

    List<BillDetailVo> findDetailById(Integer billId);
}
